What is on the EROL CD for Datacash
On the EROL CD you will find a DataCash folder containing a Templates subfolder.

The folder contains the following HTML pages:
- erol_datacash.html
- dc_success.html
- dc_failure.html


T
he default DataCash HTML pages
These are all the HTML pages you will need to successfully set up your EROL order process with the DataCash transaction system once you have an account with DataCash: These pages cannot be edited in EROL itself but can be customised to suit the look and feel of your store using any web editor. Ensure that all hidden fields already in these pages are not deleted or removed.
- erol_datacash.html - The default page that will read in the order details from your EROL store and display them as non-editable fields and add the credit card input fields to the top of the page.
- dc_success.html - The default page that gets displayed following successful authorisation of your customer's credit card.
- dc_failure.html - The default page that gets displayed following unsuccessful authorisation of your customer's credit card.


C
ustomising the HTML pages
The HTML files can be edited to allow you to customise the look of your order form.

If you choose to edit these HTML files:
1. Ensure that all hidden fields required for your store are kept intact.
2. Any images used must have relative paths to the HTML document within the same directory. ie. <img src="image.gif">. Do not include paths to any subfolders for any images or other media in your page.
3. Submit your file(s) to support@erol.co.uk who will upload your file(s) to the EROL Secure Server and give you a reference path for your EROL Store.


S
etting up your EROL/Datacash Account
In the Store Settings window, click on Payment in the menu. This will bring up the Payment tabs. Click on Gateways tab and several fields will appear. To use DataCash, select DataCash from the Order Method dropdown. The fields required to enable the connection to your DataCash account will become active.

The active fields are:
- Your E-mail: The recipient e-mail address of, typically, the vendor to receive orders
- Target Script: This will automatically be filled with the correct path to the DataCash script.
- Merchant ID: This will be given to you by DataCash
- Password: This will be given to you by DataCash
- Secure Form: The name of your Secure Form HTML page containing Credit Card input fields. Confirm Page: The name of your Order Confirmation HTML page, displayed after a successful card transaction.
- Reject Page: The name of your Order Failure HTML page, displayed after an unsuccessful card transaction.

The correct path(s) to these fields will be given to you by EROL Support after you have sent the files in for upload to your account. If you do not put anything in these last three fields, they will default to the basic template forms.


G
oing Live
Your store, once set up to work with DataCash, is ready to trade. It is best to test your store 'behind closed doors' with some test credit card numbers that can be used to create successful transactions. These numbers are available from DataCash.